﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SmugTest
{
  public class Airplane
  {
    public virtual int TryGetAltitude(out int altitude)
    {
      throw new NotImplementedException();
    }

    public virtual void TurnOffLights()
    {
      throw new NotImplementedException();
    }

    public virtual void Shutdown()
    {
      TurnOffLights();
    }

    public virtual bool Land()
    {
      if (!DropGear())
      {
        return false;
      }

      return true;
    }

    public virtual bool DropGear()
    {
      return false;
    }

    public virtual bool DropGear(int retries)
    {
      return false;
    }

    public virtual int Milleage(int speed)
    {
      return -1;
    }
  }
}
